import Layout from '@/layout/index.vue'

const equipmentRouter = [{
  path: '/equipment',
  component: Layout,
  redirect: '/equipment/list',
  name: 'equipment',
  meta: {
    title: '设备平台',
    icon: 'chat-square'
  },
  children: [
    {
      path: '/equipment/list',
      component: () => import('@/views/equipment/index.vue'),
      name: 'equipmentList',
      meta: { title: '设备平台', icon: 'chat-square' }
    },
    {
      path: '/equipment/manage',
      component: () => import('@/views/equipment/manage/index.vue'),
      name: 'equipmentManage',
      meta: { title: '设备管理', icon: 'chat-square' }
    },
  ]
},]

export default equipmentRouter
